/* 登录页面样式 */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  perspective: 1000px;
}

.login-header {
  position: absolute;
  top: 10%;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
  width: 100%;
}

.login-title {
  color: white;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.login-card {
  width: 420px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border-radius: 12px;
  border: none;
  animation: cardAppear 0.8s ease-out;
}

.login-form-item {
  margin-bottom: 24px;
}

.login-input {
  border-radius: 6px;
  height: 46px;
}

.login-button {
  width: 100%;
  height: 46px;
  border-radius: 6px;
}

.login-footer {
  text-align: center;
  margin-top: 16px;
  padding: 16px 0 0;
  border-top: 1px solid #f0f0f0;
}

.background-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation: float ease-in-out infinite;
}

/* 登录页面特殊动画 */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* 错误消息动画 */
.error-alert {
  margin-bottom: 24px;
  border-radius: 6px;
  animation: shake 0.5s;
}

/* 响应式调整 */
@media (max-width: 576px) {
  .login-card {
    width: 90%;
    margin: 0 20px;
  }
  
  .login-title {
    font-size: 2rem;
  }
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
  .login-card.dark-mode {
    background: rgba(30, 30, 30, 0.8);
  }
  
  .login-card.dark-mode .ant-card-body {
    color: #f0f0f0;
  }
} 